/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * StandardPanel.java
 *
 * Created on 2011-4-22, 12:49:34
 */

package com.iduxs.collect.frame.style2.collect;

import com.iduxs.collect.frame.collect.*;
import com.iduxs.collect.frame.style2.SystemManager;
import javax.swing.JFrame;

/**
 *
 * @author Administrator
 */
public class StandardPanel extends javax.swing.JPanel {

    /** Creates new form StandardPanel */
    public StandardPanel() {
        initComponents();
        jTabbedPane1.add("采集模式",new CollectModelPanel());
        jTabbedPane1.add("采集动作",new CollectActionPanel());
        jTabbedPane1.add("过滤设置",new FilterConfigPanel());
        jTabbedPane1.add("去除水印",new RemoveWaterMarkPanel());
        jTabbedPane1.add("代理/进度",new ProxyAndProgressPanel());

        ((JFrame)(SystemManager.getInstance().getRegistered("MainFrame"))).pack();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jButton2 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();
        jButton4 = new javax.swing.JButton();
        jTabbedPane1 = new javax.swing.JTabbedPane();

        jButton2.setText("开始");

        jButton3.setText("停止");

        jButton4.setText("采集方案");

        jTabbedPane1.setPreferredSize(new java.awt.Dimension(630, 394));

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap(419, Short.MAX_VALUE)
                .addComponent(jButton2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jButton3)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jButton4)
                .addGap(21, 21, 21))
            .addComponent(jTabbedPane1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 651, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton2)
                    .addComponent(jButton3)
                    .addComponent(jButton4))
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JTabbedPane jTabbedPane1;
    // End of variables declaration//GEN-END:variables

}
